//
//  UIViewController+HUD.h
//  SWS
//
//  Created by zjszyms on 16/1/12.
//  Copyright © 2016年 zjszyms. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIViewController (HUD)

- (void)showProgress;
- (void)showProgress:(NSString *)message;
- (void)showProgress:(NSString *)message duration:(int)duration;

- (void)showToastMessage:(NSString *)message;
- (void)showToastMessage:(NSString *)message duration:(int)duration;

- (void)showSuccessMessage;
- (void)showSuccessMessage:(NSString *)message;
- (void)showSuccessMessage:(NSString *)message duration:(int)duration;

- (void)showErrorMessage;
- (void)showErrorMessage:(NSString *)message;
- (void)showErrorMessage:(NSString *)message duration:(int)duration;

- (void)hideHud;

@end
